using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;

namespace WebPrinter.Library.DaQu.Params
{
    /// <summary>
    /// 打印状态查询参数
    /// </summary>
    public class PrintStatusQueryParam : SnParam
    {
        /// <summary>
        /// 打印请求ID
        /// </summary>
        [Required]
        [JsonProperty("printId")]
        public long PrintId { get; set; }

        public PrintStatusQueryParam() { }

        public PrintStatusQueryParam(string sn, long printId) : base(sn)
        {
            PrintId = printId;
        }
    }
}